package com.yanqu.road.entity.log;

import java.math.BigInteger;

public class LogChildAddEarnSpeed {
    private long userId;
    private String childUid;
    private int type;                 //增加类型，0：培养增加；1：联姻增加；2：状元宴会加赚速
    private BigInteger oldEarnSpeed;
    private BigInteger addEarnSpeed;
    private BigInteger nowEarnSpeed;
    private long time;

    public LogChildAddEarnSpeed(long userId, String childUid, int type, BigInteger oldEarnSpeed, BigInteger addEarnSpeed, BigInteger nowEarnSpeed, long time) {
        this.userId = userId;
        this.childUid = childUid;
        this.type = type;
        this.oldEarnSpeed = oldEarnSpeed;
        this.addEarnSpeed = addEarnSpeed;
        this.nowEarnSpeed = nowEarnSpeed;
        this.time = time;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public String getChildUid() {
        return childUid;
    }

    public void setChildUid(String childUid) {
        this.childUid = childUid;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public BigInteger getOldEarnSpeed() {
        return oldEarnSpeed;
    }

    public void setOldEarnSpeed(BigInteger oldEarnSpeed) {
        this.oldEarnSpeed = oldEarnSpeed;
    }

    public BigInteger getAddEarnSpeed() {
        return addEarnSpeed;
    }

    public void setAddEarnSpeed(BigInteger addEarnSpeed) {
        this.addEarnSpeed = addEarnSpeed;
    }

    public BigInteger getNowEarnSpeed() {
        return nowEarnSpeed;
    }

    public void setNowEarnSpeed(BigInteger nowEarnSpeed) {
        this.nowEarnSpeed = nowEarnSpeed;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }
}
